Retains the running state and reusable algorithms of any Diamant ORM DAO in which persistence operations for a relational data store are automatically created by inferring data schema in
accordance with TEntity characteristics.
Top
Top
Top
Top
The following tables list the members exposed by the ConventionFirstDiamantDaoContext<TEntity> type.
Name | Description | |
---|---|---|
ConventionFirstDiamantDaoContext<TEntity> | Creates a new ConventionFirstDiamantDaoContext<TEntity> instance. |
Name | Description | |
---|---|---|
ColumnNamingConvention | Gets or sets the column naming convention. | |
TableNamingConvention | Gets or sets the table naming convention. |
Name | Description | |
---|---|---|
Equals | (Overloaded) Determines whether the specified object is equal to the current object. (inherited from Object). | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (inherited from Object). | |
GetHashCode | Serves as the default hash function. (inherited from Object). | |
GetMappings |
By using the NamingConvention defined in ConventionFirstDiamantDaoContext<ConventionFirstDiamantDaoContext(string, NamingConvention, NamingConvention)
this method infers the table data schema in accordance with TEntity characteristics and creates the TableMappings required to synthesize create, read, update
and delete SQL statements.
An affinity between data schema and TEntity structure is necessary for this class to correctly work, for example, if snake casing is used as naming convention, and
the entity class is SomeEntity with string properties FirstProperty and SecondProperty , a table called some_entity with character based columns first_column
and second_column must exists in the underlying data store.
|
|
GetType | (Overloaded) Gets the Type of the current instance. (inherited from Object). | |
MemberwiseClone | Creates a shallow copy of the current Object. (inherited from Object). | |
ReferenceEquals | Determines whether the specified Object instances are the same instance. (inherited from Object). | |
ToString | Returns a string that represents the current object. (inherited from Object). |
Name | Description | |
---|---|---|
FromNullable | Converts object values to nullable relational data store values. (Defined by Object_ToNullable). | |
GetAttribute | Obtains the first attribute that decorates an object class. (Defined by Attribute_GetAttributes). | |
GetAttribute<TAtribute> | (Overloaded) Obtains the first attribute that decorates an object class. (Defined by Attribute_GetAttributes). | |
GetAttributes | Obtains the attributes that decorates a class. (Defined by Attribute_GetAttributes). | |
GetAttributes<TAtribute> | (Overloaded) Obtains the attributes that decorates a class. (Defined by Attribute_GetAttributes). | |
ToNullable<T> | Converts nullable relational data store values to Nullable<T>. (Defined by Object_ToNullable). |